using System;
using System.Text;

namespace ctsu.Admin.BusLogic
{

	public class ProtocolInfo
	{
		private int _id = -1;
		//private int _spid = -1;
		private string _number = "";
		private string _investigator = "";
		private string _title = "";

		public ProtocolInfo()
		{

		}

		public int ID
		{
			get { return _id; }
			set { _id = value; }
		}

		//public int SPID
		//{
		//    get { return _spid; }
		//    set { _spid = value; }
		//}

		public string Number
		{
			get { return _number; }
			set { _number = value; }
		}

		public string Investigator
		{
			get { return _investigator; }
			set { _investigator = value; }
		}

		public string Title
		{
			get { return _title; }
			set { _title = value; }
		}

		public string GetToolTip()
		{
			StringBuilder sb = new StringBuilder();
			//add tooltip			
			sb.Append("Protocol Information");
			sb.Append(Environment.NewLine);
			sb.Append("  Protocol ID: " + ID);
			sb.Append(Environment.NewLine);
			//sb.Append("  Protocol SPID: " + SPID);
			sb.Append(Environment.NewLine);
			sb.Append("  Number: " + Number);
			sb.Append(Environment.NewLine);
			sb.Append("  Investigator: " + Investigator);
			return sb.ToString();
		}
	}
}
